import request from '@/utils/request'

// 查询列表
export function extensionWorkerList(query) {
  return request({
    url: '/extensionWorker/list',
    method: 'post',
    params: query
  })
}
//删除
export function extensionWorkerRemove(ids) {
  return request({
    url: '/extensionWorker/remove',
    method: 'post',
    data: ids
  })
}

//保存
export function extensionWorkerSave(data) {
  return request({
    url: '/extensionWorker/save',
    method: 'post',
    data: data
  })
}

// 查询详细
export function getExtensionWorker(id) {
  return request({
    url: '/extensionWorker/' + id,
    method: 'get'
  })
}